<?php
/* @var $this EmailtemplateController */
/* @var $model EmailTemplate */

$this->breadcrumbs = array(
    'Email Templates' => array('index'),
    'Manage',
);
?>
<div class="box">
    <header>
        <h5>Email template</h5>
    </header>
    <div class="body">
        <?php
        $this->widget('bootstrap.widgets.TbGridView', array(
            'id' => 'email-template-grid',
            'dataProvider' => $model->search(),
            'filter' => $model,
            'columns' => array(
                array(
                    'name' => 'id',
                    'header' => '#',
                    'htmlOptions' => array('width' => '50'),
                ),
                'name',
                'help',
                array(
                    'class' => 'bootstrap.widgets.TbButtonColumn',
                    'template' => '{update}',
                    'header' => 'Action'
                ),
            ),
        ));
        ?>

    </div>
</div>
